package com.company.class3;

/**
 * @Classname ThreeRTest
 * @Description 类型说明
 * @Date 2022/4/17 16:48
 * @Created by zbw
 */

public class ThreeRTest {
    public static void main(String[] args) {
        int count = 4;
        //三元运算
        String dothings = count == 4?"打球":"上班";
        System.out.println(dothings);
    }
}
